
#ifndef _GEOPOINT_MAP_H
#define _GEOPOINT_MAP_H

#include "list.h"
#include "image.h"
#include "layer.h"

typedef struct _geopoint_map_t {
	int width;
	int height;
	
    geopoint_image_t image;
	geopoint_list_t layers;
	
} geopoint_map_t;

void geopoint_map_init (geopoint_map_t *map);
void geopoint_map_free (geopoint_map_t *map);
void geopoint_map_add_layer (geopoint_map_t *map, geopoint_layer_t *layer);

int geopoint_map_save_as_png (geopoint_map_t *map, char *filename);

#endif
